<div class="grid_7">
    <div class="box">
        <h2>
            <a href="#" id="toggle-tables">PASSWORD MANAGEMENT</a>
        </h2>
        <div class="block" >
            <form name="chng_pass" method="POST" action="<?= base_url(); ?>admin/settings/pass_change">
                <fieldset>
                    <legend>Change Password</legend>
                    <?php
                    if ($this->session->flashdata('message')) {
                        $msg = $this->session->flashdata('message');
                        echo '<font color="red">' . $msg . '</font>';
                    }
                    ?> 
                    <div class="field">
                        <label>Old Password</label>
                        <input name="oldPass" type="password" size="40" />
                    </div>
                    <div class="field">
                        <label>New Password</label>
                        <input name="newPass" type="password" size="40" />
                    </div>
                    <div class="field">
                        <label>Repeat Password</label>
                        <input name="repeatPass" type="password" size="40" />
                    </div>
                    <div class="field">
                        <input type="submit" value="Update Password" name="verify" />
                    </div>

                </fieldset>
            </form>
        </div>
    </div> <!-- END OF BOX -->
</div>